<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #div1 {
            width: 500px;
            height: 500px;
            border: 1px solid black;
            font-size: 32q px;
            line-height: 500px;
            color: blueviolet;
            margin: 0 auto;
        }
    </style>
</head>
<<<<<<< HEAD



<body>
    <div id="div1"></div>
    <div>oo</div>
    <div>ll</div>
=======

<body>
    <div id="div1"></div>
    <div>啦啦啦</div>
>>>>>>> 754bae23af1d957c0cf553eb62a322f09b45b81a
</body>
<script>
    var div1 = document.getElementById("div1");
    var timer = window.setInterval(function () {
        var date1 = new Date();
        var date2 = new Date("2019/10/18    18:35:00");
        var t = date2 - date1;
        var d = parseInt(t / 1000 / 60 / 60 / 24);
        var h = parseInt(t / 1000 / 60 / 60 % 24);
        var m = parseInt(t / 1000 / 60 % 60);
        var s = parseInt(t / 1000 % 60);

        div1.innerHTML = "距离放假还有" + d + "天" + h + "时" + m + "分" + s + "秒";
    });
</script>

</html>